package com.groupbuying.settleproducer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.settleproducer.dao.SettleUshopSplitCurrencyDao;
import com.groupbuying.settleproducer.domain.SettleUshopSplitCurrencyDO;
import com.groupbuying.settleproducer.service.SettleUshopSplitCurrencyService;



@Service
public class SettleUshopSplitCurrencyServiceImpl implements SettleUshopSplitCurrencyService {
	@Autowired
	private SettleUshopSplitCurrencyDao settleUshopSplitCurrencyDao;
	
	@Override
	public SettleUshopSplitCurrencyDO get(String settleId){ return settleUshopSplitCurrencyDao.get(settleId); }

	@Override
	public String getByOrderId(String orderId){ return settleUshopSplitCurrencyDao.getByOrderId(orderId); }

	@Override
	public List<SettleUshopSplitCurrencyDO> list(Map<String, Object> map){
		return settleUshopSplitCurrencyDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return settleUshopSplitCurrencyDao.count(map);
	}
	
	@Override
	public int save(SettleUshopSplitCurrencyDO settleUshopSplitCurrency){
		return settleUshopSplitCurrencyDao.save(settleUshopSplitCurrency);
	}
	
	@Override
	public int update(SettleUshopSplitCurrencyDO settleUshopSplitCurrency){
		return settleUshopSplitCurrencyDao.update(settleUshopSplitCurrency);
	}
	
	@Override
	public int remove(String settleId){
		return settleUshopSplitCurrencyDao.remove(settleId);
	}
	
	@Override
	public int batchRemove(String[] settleIds){
		return settleUshopSplitCurrencyDao.batchRemove(settleIds);
	}
	
}
